//
//  GTIssueComment.swift
//  GitOSC-Swift
//
//  Created by 李萍 on 16/3/10.
//  Copyright © 2016年 李萍. All rights reserved.
//

import UIKit
import SwiftyJSON

class GTIssueComment: NSObject {
    var id: Int!
    var body: String!
    var author: GTUser!
    var createdAt: String!
    var target: [String: AnyObject]!
    
    init(json:JSON) {
        id = json["id"].intValue
        body = json["body"].stringValue
        author = GTUser.init(json: json["author"])
        createdAt = json["created_at"].stringValue
        target = json["target"].dictionaryObject
    }
}
